export class Fetch {
    static get(c) {
        delete c.body
        return HWH5.fetchInternet(c.target, c)
    }
    
    static post(c) {
        return HWH5.fetchInternet(c.target, c)
    }
    
    static request(c) {
        let method = c.method
        if (method === 'get') {
            return this.get(c)
        } else if (method === 'post') {
            return this.post(c)
        }
    }
}